package RR_IGNORED;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;

public class Example {
    void copyFile(String src, String dest) {
        try {
            File srcFile = new File(src);
            File destFile = new File(dest);
            FileInputStream fis =
                    new FileInputStream(srcFile);
            FileOutputStream fos =
                    new FileOutputStream(destFile);
            byte bytes[] = new byte[1024];
            fis.read(bytes);
            fos.write(bytes, 0, bytes.length);
            fis.close();
            fos.close();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
